package com.yunxin.core.application.command.channel;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Data
@Schema(description = "新增渠道类型对象")
public class AddChannelTypeCommand implements Serializable {
    /**
     * 渠道类型名称
     */
    @Schema(description = "渠道类型名称")
    @NotBlank(message = "渠道类型名称不能为空")
    private String channelTypeName;
    /**
     * 备注
     */
    @Schema(description = "新增渠道类型对象")
    private String remark;
    /**
     * 创建人
     */
    @Schema(hidden = true)
    private String creator;
}
